package net.wofly.sale.commodity.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色默认订单类型
 * @author lign
 * @version 1.0
 * @created 05-三月-2018 14:36:07
 */
@Data
@Entity
@Table(name = "sale_right_RoleDefaultOrderType")
@ApiModel(description = "角色或用户默认订单类型实体")
public class RoleDefaultOrderType {

	@Id
	private String roleDefaultOrderTypeID;
	
	@ApiModelProperty(value = "角色ID", required = true)
	private String roleID;
	
	@ApiModelProperty(value = "用户ID", required = true)
	private String userID;
	
	@ApiModelProperty(value = "订单类型", required = true)
	private String orderType;
	
	private Long modifyDate;

	public RoleDefaultOrderType(){

	}

	@Override
	public void finalize() throws Throwable {

	}
}//end RoleDefaultOrderType